package com.future.lock.home.entity.bean;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/12/21 0021.
 */

public class Lock {
    public String lock_id;
    public String lock_no;
    public String lock_name;
    public String create_time;
    public String gateway_id;
    public String gateway_name;

    public Lock() {
    }

    public void parse(JSONObject object){
        lock_id = object.optString("lock_id");
        lock_no = object.optString("lock_no");
        lock_name = object.optString("lock_name");
        create_time = object.optString("create_time");
        gateway_id = object.optString("gateway_id");
        gateway_name = object.optString("gateway_name");
    }

}
